#ifndef COMPILER_ONLINE
#include "header.cpp"
#endif
//定义条件编译，仅仅是为了编码的时候不出现报错

void Test1()
{
    vector<int> values = {1,2,3,4,5,6};
    int ret = Solution().Max(values);
    if (ret == 6)
    {
        std::cout << "Test1通过" << std::endl;
    }
    else
    {
        std::cout << "Test1未通过" << std::endl;
    }
}

void Test2()
{
    vector<int> values = {-1,-2,-3,-4,-5};
    int ret = Solution().Max(values);
    if (ret == -1)
    {
        std::cout << "Test2通过" << std::endl;
    }
    else
    {
        std::cout << "Test2未通过" << std::endl;
    }
}

int main()
{
    Test1();
    Test2();
}